package com.handpay.zztong.hp.webpay.model;

import android.os.Parcel;

import android.os.Parcel;

import com.handpay.zztong.hp.bean.ResponseBean;

/**
 * Created by lyang on 2017/2/23.
 */

public class AccountTransfer extends ResponseBean {

    /**
     * amount : 0
     * cardNoOut :
     * cardOrganization : CUP
     * specialNumber : 423AA8A84C9D56CC7917787DE7BD13B6
     * status : 0
     * tranMediaType : S
     * transSN : null
     * transStatus : [ROU99]没有找到对应路由结果
     */

    private String cardNoOut;

    private String status;

    private String transSN;
    private String transStatus;
    private String total;
    private String appcode;
    private String appCode;
    private String transChannel;
    private String transTime;
    private String cardNoOutFull;
    private String amount;
    private String cardNoIn;
    private String tradeType;
    private String isRevoke;
    private String appealStatus;
    private String cardImageUrl;
    private String orderNo;
    private String transAccount;
    private String revokeStatus;
    private String shopName;
    private String merchantcode;
    private String issuerId;
    private String specialNumber;
    private String csn;
    private String cardOrganization;
    private String tranMediaType;

    // 交易查询详情
    private String imageUrl;
    private String detailUrl;
    private String isOpen;
    private String showAppealBtn;
    private String showSignStatus;
    private String pageUrl;

    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }

    public String getShowAppealBtn() {
        return showAppealBtn;
    }

    public void setShowAppealBtn(String showAppealBtn) {
        this.showAppealBtn = showAppealBtn;
    }

    public String getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(String isOpen) {
        this.isOpen = isOpen;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    public void setCardNoOut(String cardNoOut) {
        this.cardNoOut = cardNoOut;
    }

    public String getCardOrganization() {
        return cardOrganization;
    }

    public void setCardOrganization(String cardOrganization) {
        this.cardOrganization = cardOrganization;
    }

    public String getSpecialNumber() {
        return specialNumber;
    }

    public void setSpecialNumber(String specialNumber) {
        this.specialNumber = specialNumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTranMediaType() {
        return tranMediaType;
    }

    public void setTranMediaType(String tranMediaType) {
        this.tranMediaType = tranMediaType;
    }

    public String getTransSN() {
        return transSN;
    }

    public void setTransSN(String transSN) {
        this.transSN = transSN;
    }

    public String getTransStatus() {
        return transStatus;
    }

    public void setTransStatus(String transStatus) {
        this.transStatus = transStatus;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getAppcode() {
        return appcode;
    }

    public void setAppcode(String appcode) {
        this.appcode = appcode;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getTransChannel() {
        return transChannel;
    }

    public void setTransChannel(String transChannel) {
        this.transChannel = transChannel;
    }

    public String getTransTime() {
        return transTime;
    }

    public void setTransTime(String transTime) {
        this.transTime = transTime;
    }

    public String getCardNoOutFull() {
        return cardNoOutFull;
    }

    public void setCardNoOutFull(String cardNoOutFull) {
        this.cardNoOutFull = cardNoOutFull;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCardNoIn() {
        return cardNoIn;
    }

    public void setCardNoIn(String cardNoIn) {
        this.cardNoIn = cardNoIn;
    }

    public String getCardNoOut() {
        return cardNoOut;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getIsRevoke() {
        return isRevoke;
    }

    public void setIsRevoke(String isRevoke) {
        this.isRevoke = isRevoke;
    }

    public String getAppealStatus() {
        return appealStatus;
    }

    public void setAppealStatus(String appealStatus) {
        this.appealStatus = appealStatus;
    }

    public String getRevokeStatus() {
        return revokeStatus;
    }

    public void setRevokeStatus(String revokeStatus) {
        this.revokeStatus = revokeStatus;
    }

    public String getCardImageUrl() {
        return cardImageUrl;
    }

    public void setCardImageUrl(String cardImageUrl) {
        this.cardImageUrl = cardImageUrl;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getTransAccount() {
        return transAccount;
    }

    public void setTransAccount(String transAccount) {
        this.transAccount = transAccount;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getMerchantcode() {
        return merchantcode;
    }

    public void setMerchantcode(String merchantcode) {
        this.merchantcode = merchantcode;
    }

    public String getIssuerId() {
        return issuerId;
    }

    public void setIssuerId(String issuerId) {
        this.issuerId = issuerId;
    }

    public String getCsn() {
        return csn;
    }

    public void setCsn(String csn) {
        this.csn = csn;
    }

    public String getShowSignStatus() {
        return showSignStatus;
    }

    public void setShowSignStatus(String showSignStatus) {
        this.showSignStatus = showSignStatus;
    }

    public static Creator<AccountTransfer> getCREATOR() {
        return CREATOR;
    }

    public AccountTransfer() {

    }

    @Override
    public String toString() {
        return "AccountTransfer{" + "cardNoOut='" + cardNoOut + '\'' + ", status='" + status + '\'' + ", transSN='" + transSN + '\'' + ", transStatus='" + transStatus + '\'' + ", total='" + total + '\'' + ", appcode='" + appcode + '\'' + ", appCode='" + appCode + '\'' + ", transChannel='" + transChannel + '\'' + ", transTime='" + transTime + '\'' + ", cardNoOutFull='" + cardNoOutFull + '\'' + ", amount='" + amount + '\'' + ", cardNoIn='" + cardNoIn + '\'' + ", tradeType='" + tradeType + '\'' + ", isRevoke='" + isRevoke + '\'' + ", appealStatus='" + appealStatus + '\'' + ", cardImageUrl='" + cardImageUrl + '\'' + ", orderNo='" + orderNo + '\'' + ", transAccount='" + transAccount + '\'' + ", revokeStatus='" + revokeStatus + '\'' + ", shopName='" + shopName + '\'' + ", merchantcode='" + merchantcode + '\'' + ", issuerId='" + issuerId + '\'' + ", specialNumber='" + specialNumber + '\'' + ", csn='" + csn + '\'' + ", cardOrganization='" + cardOrganization + '\'' + ", tranMediaType='" + tranMediaType + '\'' + ", imageUrl='" + imageUrl + '\'' + ", detailUrl='" + detailUrl + '\'' + ", isOpen='" + isOpen + '\'' + ", showAppealBtn='" + showAppealBtn + '\'' + ", pageUrl='" + pageUrl + '\'' + '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.cardNoOut);
        dest.writeString(this.status);
        dest.writeString(this.transSN);
        dest.writeString(this.transStatus);
        dest.writeString(this.total);
        dest.writeString(this.appcode);
        dest.writeString(this.appCode);
        dest.writeString(this.transChannel);
        dest.writeString(this.transTime);
        dest.writeString(this.cardNoOutFull);
        dest.writeString(this.amount);
        dest.writeString(this.cardNoIn);
        dest.writeString(this.tradeType);
        dest.writeString(this.isRevoke);
        dest.writeString(this.appealStatus);
        dest.writeString(this.cardImageUrl);
        dest.writeString(this.orderNo);
        dest.writeString(this.transAccount);
        dest.writeString(this.revokeStatus);
        dest.writeString(this.shopName);
        dest.writeString(this.merchantcode);
        dest.writeString(this.issuerId);
        dest.writeString(this.specialNumber);
        dest.writeString(this.csn);
        dest.writeString(this.cardOrganization);
        dest.writeString(this.tranMediaType);
        dest.writeString(this.imageUrl);
        dest.writeString(this.detailUrl);
        dest.writeString(this.isOpen);
        dest.writeString(this.showAppealBtn);
        dest.writeString(this.showSignStatus);
        dest.writeString(this.pageUrl);
    }

    protected AccountTransfer(Parcel in) {
        super(in);
        this.cardNoOut = in.readString();
        this.status = in.readString();
        this.transSN = in.readString();
        this.transStatus = in.readString();
        this.total = in.readString();
        this.appcode = in.readString();
        this.appCode = in.readString();
        this.transChannel = in.readString();
        this.transTime = in.readString();
        this.cardNoOutFull = in.readString();
        this.amount = in.readString();
        this.cardNoIn = in.readString();
        this.tradeType = in.readString();
        this.isRevoke = in.readString();
        this.appealStatus = in.readString();
        this.cardImageUrl = in.readString();
        this.orderNo = in.readString();
        this.transAccount = in.readString();
        this.revokeStatus = in.readString();
        this.shopName = in.readString();
        this.merchantcode = in.readString();
        this.issuerId = in.readString();
        this.specialNumber = in.readString();
        this.csn = in.readString();
        this.cardOrganization = in.readString();
        this.tranMediaType = in.readString();
        this.imageUrl = in.readString();
        this.detailUrl = in.readString();
        this.isOpen = in.readString();
        this.showAppealBtn = in.readString();
        this.showSignStatus = in.readString();
        this.pageUrl = in.readString();
    }

    public static final Creator<AccountTransfer> CREATOR = new Creator<AccountTransfer>() {
        @Override
        public AccountTransfer createFromParcel(Parcel source) {
            return new AccountTransfer(source);
        }

        @Override
        public AccountTransfer[] newArray(int size) {
            return new AccountTransfer[size];
        }
    };
}

